package 数组;

public class Triple {
    int row=0;//行
    int col=0;//列
    int data=0;//值，数据

    @Override
    public String toString() {
        return "{" + row +
                "," + col +
                "," + data +
                '}';
    }

    public Triple(int row, int col, int data) {
        this.row = row;
        this.col = col;
        this.data = data;
    }
}
